Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-11999 | GEN003540 | SV-35009r1_rule | ECCD-1 ECCD-2 ECSC-1 | Medium |
Description |
---|
A common type of exploit is the stack buffer overflow. An application receives, from an attacker, more data than it is prepared for and stores this information on its stack, writing beyond the space reserved for it. This can be designed to cause execution of the data written on the stack. One mechanism to mitigate this vulnerability is for the system to not allow the execution of instructions in sections of memory identified as part of the stack. |
STIG | Date |
---|---|
HP-UX 11.23 Security Technical Implementation Guide | 2015-06-12 |
Check Text ( C-36498r1_chk ) |
---|
Determine if the system implements non-executable program stacks. # kctune | grep -i "executable_stack" | tr '\011' ' ' | tr -s ' ' | \ sed -e 's/^[ \t]*//' | cut -f 2,2 -d " " If the executable_stack tunable is set to 1, this is a finding. |
Fix Text (F-31853r1_fix) |
---|
# kctune executable_stack=0 The system will require a restart/reboot for the setting to take effect. |